File: xemacs-faq.info, Node: 10.3., Next: 10.4., Prev: 10.2., Up: 10. The mouse; cutting and pasting
10.3. I do "^x ^b" to get a list of buffers and the entries get highlighted when I move the mouse over them but clicking the left mouse does not do anything.
If you are using the real Motif menubar, this resource is not
recognized; you have to say
Emacs*menubar*fontList: FONT
If you are using the Lucid menubar, the former resource will be
recognized only if the latter resource is unset. This means that the
resource
*fontList: FONT
will override
Emacs*menubar*font: FONT
even though the latter is more specific.
File: xemacs-faq.info, Node: 13. Scrollbars, Next: 14. Frame Geometry, Prev: 12. The menubar and toolbar, Up: Top
13. Scrollbars
**************
* Menu:
* 13.1.:: 13.1. How can I disable the scrollbar?
* 13.2.:: 13.2. How can one use resources to change scrollbar colors?
* 13.3.:: 13.3. When I move the scrollbar in an XEmacs window, it moves the point as well, which should not be the default behavior. Is this a bug or a feature? Can I disable it?
13.3. When I move the scrollbar in an XEmacs window, it moves the point as well, which should not be the default behavior. Is this a bug or a feature? Can I disable it?
* 14.1.:: 14.1. In Lucid Emacs 19.6 I did `(set-screen-width CHARACTERS)' and `(set-screen-height LINES)' in my `.emacs' instead of specifying `Emacs*EmacsScreen.geometry' in my `.Xdefaults' but this does not work in XEmacs 19.13.
* 14.2.:: 14.2. In XEmacs 19.11 I specified `Emacs*EmacsScreen.geometry' in my `.emacs' but this does not work in XEmacs 19.13.
14.1. In Lucid Emacs 19.6 I did `(set-screen-width CHARACTERS)' and `(set-screen-height LINES)' in my `.emacs' instead of specifying `Emacs*EmacsScreen.geometry' in my `.Xdefaults' but this does not work in XEmacs 19.13.
* 15.1.:: 15.1. How can I get the icon to just say `XEmacs' and not include the name of the current file in it?
* 15.2.:: 15.2. How can I have the window title area display the full directory/name of the current buffer file and not just the name?
* 15.3.:: 15.3. When I run `xterm -name junk' I get an xterm whose class name according to xprop, is `junk'. This is the way it's supposed to work, I think. When I run `xemacs -name junk' the class name is not set to `junk'. It's still `emacs'. What does `xemacs -name' really do? The reason I ask is that my window manager (fvwm) will make a window sticky and I use XEmacs to read my mail. I want that XEmacs window to be sticky, without having to use the window manager's function to set the window sticky. What gives?
15.3. When I run `xterm -name junk' I get an xterm whose class name according to xprop, is `junk'. This is the way it's supposed to work, I think. When I run `xemacs -name junk' the class name is not set to `junk'. It's still `emacs'. What does `xemacs -name' really do? The reason I ask is that my window manager (fvwm) will make a window sticky and I use XEmacs to read my mail. I want that XEmacs window to be sticky, without having to use the window manager's function to set the window sticky. What gives?
* 16.1.:: 16.1. How can I do source code highlighting using font-lock?
* 16.2.:: 16.2. How do you arrange it so that XEmacs indents all the clauses of a Common Lisp `if' the same amount instead of indenting the 3rd clause differently from the first two?
* 16.3.:: 16.3. I do not like cc-mode. How do I use the old c-mode?
* 16.4.:: 16.4. When I try to edit a postscript file it gets stuck saying: fontifying 'filename' (regexps....) and it just sits there. If I press ctrl-c in the window where XEmacs was started, it suddenly becomes alive again.
* 16.5.:: 16.5. Does anyone know how to get the "More" Syntax Highlighting on by default?
16.2. How do you arrange it so that XEmacs indents all the clauses of a Common Lisp `if' the same amount instead of indenting the 3rd clause differently from the first two?
16.4. When I try to edit a postscript file it gets stuck saying: fontifying 'filename' (regexps....) and it just sits there. If I press ctrl-c in the window where XEmacs was started, it suddenly becomes alive again.
WARNING: note that changing default-major-mode from fundamental-mode
can break a large amount of built-in code that expects newly created
buffers to be in fundamental-mode. (Changing from fundamental-mode to
auto-fill text-mode might not wreak too much havoc, but changing to
something more exotic like a lisp-mode would break many Emacs packages.
Note that Emacs defaultly starts up in buffer *scratch* in
initial-major-mode, which defaults to lisp-interaction-mode. Thus
adding the following form to your Emacs init file will cause the
initial *scratch* buffer to be put into auto-fill'ed text-mode.
(setq initial-major-mode
(function (lambda ()
(text-mode)
(turn-on-auto-fill))))
Note that after your init file is loaded, if inhibit-startup-message
is null (the default) and the startup buffer is *scratch* then the
startup message will be inserted into *scratch*; it will be removed
after a timeout by erasing the entire *scratch* buffer. Keep in mind
this default usage of *scratch* if you desire any prior manipulation of
*scratch* from within your Emacs init file. In particular, anything you
insert into *scratch* from your init file will be later erased. Also,
if you change the mode of *scratch* be sure that this will not
interfere with possible later insertion of the startup message (e.g. if
you put *scratch* into a nonstandard mode that has automatic font lock
rules, then the startup message might get fontified in a strange
foreign manner, e.g. as code in some programming language).
File: xemacs-faq.info, Node: 18. Shell mode, Next: 19. Mail; VM; GNUS; BBDB; and related, Prev: 17. Text mode, Up: Top
18. Shell mode
**************
* Menu:
* 18.1.:: 18.1. How do I start up a second shell buffer?
* 18.2.:: 18.2. I'm using the Emacs `M-x shell' function, and I would like to invoke and use a telnet session within it. Everything works fine except that now all ^M's are filtered out by Emacs. Fixes?
18.2. I'm using the Emacs `M-x shell' function, and I would like to invoke and use a telnet session within it. Everything works fine except that now all ^M's are filtered out by Emacs. Fixes?
Use `M-x rsh' or `M-x telnet' to open remote sessions rather than
doing rsh or telnet within the local shell buffer.
File: xemacs-faq.info, Node: 19. Mail; VM; GNUS; BBDB; and related, Next: 20. Printing, Prev: 18. Shell mode, Up: Top
19. Mail; VM; GNUS; BBDB; and related
*************************************
* Menu:
* 19.1.:: 19.1. How and where I am suppose to set the face attributes for customizing the appearance of messages (i.e. for VM)?
* 19.2.:: 19.2. I seem to have heard that there's a package distributed with XEmacs which will use the echo area to notify you of incoming mail in a rather configurable way (multiple spool files, different actions for different files). What and where is it?
* 19.3.:: 19.3. Is there any way to add more faces and regexps to GNUS without hacking gnus.el?
* 19.4.:: 19.4. What is BBDB?
* 19.5.:: 19.5. I noticed that BBDB evokes an XEmacs bug; is there a fix?
* 19.6.:: 19.6. I'm getting the error 'Wrong type argument: listp :-pos' when I try to start BBDB. What do I do?
* 19.7.:: 19.7. I'm getting the error 'movemail: Permission denied' when I try and start VM. What do I do?
File: xemacs-faq.info, Node: 19.1., Next: 19.2., Up: 19. Mail; VM; GNUS; BBDB; and related
19.1. How and where I am suppose to set the face attributes for customizing the appearance of messages (i.e. for VM)?
Well, this should work, provided that `(require 'highlight-headers)'
is executed first. Also, highlight-headers is self-contained and you
don't need to turn on font-lock mode.
File: xemacs-faq.info, Node: 19.2., Next: 19.3., Prev: 19.1., Up: 19. Mail; VM; GNUS; BBDB; and related
19.2. I seem to have heard that there's a package distributed with XEmacs which will use the echo area to notify you of incoming mail in a rather configurable way (multiple spool files, different actions for different files). What and where is it?
Execute the following two commands. movemail is normally located in
the XEmacs install tree at `.../lib/xemacs-19.13/${arch}/movemail'.
chgrp mail movemail
chmod 2555 movemail
File: xemacs-faq.info, Node: 20. Printing, Next: 21. Gnuserv, Prev: 19. Mail; VM; GNUS; BBDB; and related, Up: Top
20. Printing
************
* Menu:
* 20.1.:: 20.1. Font-lock looks nice. How can I print (WYSIWYG) the highlighted document?
* 20.2.:: 20.2. My printer is a Postscript printer and `lpr' only works for Postscript files, so how do I get `M-x lpr-region' and `M-x lpr-buffer' to work?
Put the following in your `.emacs' file to start the server:
(gnuserv-start)
Start your first XEmacs as usual. After that, you can do
gnuclient randomfilename
from the command line to get your existing XEmacs process to open a
new frame and visit randomfilename in that window. When you're done
editing randomfilename, hit `C-x #' to kill the buffer and get rid of
the frame.
File: xemacs-faq.info, Node: 22. Miscellaneous, Prev: 21. Gnuserv, Up: Top
22. Miscellaneous
*****************
* Menu:
* 22.1.:: 22.1. How do I specify the paths that XEmacs uses for finding files?
* 22.2.:: 22.2. Why does edt emulation not work?
* 22.3.:: 22.3. How can I emulate VI and use it as my default mode?
* 22.4.:: 22.4. Is there some way to get the behavior so that if the current buffer has a file associated with it, the current buffer will use that files name else use the buffer name?
* 22.5.:: 22.5. I have no idea where this is coming from, but ever since I moved from 19.9 to 19.13 I have started seeing that all of my buffers will get a minor mode called `Omit'. I have no idea how it got there nor do I know what it does. What is it?
* 22.6.:: 22.6. How do I turn off the sound?
* 22.7.:: 22.7. Can I have the end of the buffer delimited in some way? Say, with: [END] ?
* 22.8.:: 22.8. Can I insert today's date into buffer?
* 22.9.:: 22.9. Are only certain syntactic character classes available for abbrevs? I didn't see any restrictions in the info.
* 22.10.:: 22.10. Filladapt used to work after I loaded it. Now in 19.13 it doesn't. What gives?
22.4. Is there some way to get the behavior so that if the current buffer has a file associated with it, the current buffer will use that files name else use the buffer name?
22.5. I have no idea where this is coming from, but ever since I moved from 19.9 to 19.13 I have started seeing that all of my buffers will get a minor mode called `Omit'. I have no idea how it got there nor do I know what it does. What is it?